package com.ruoyi.dealrecord.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 成交记录管理对象 am_deal_record
 * 
 * @author ruoyi
 * @date 2020-07-29
 */
public class AmDealRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 成交记录表ID */
    private Long id;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String contractCode;

    /** 所属招商部 */
    private String ipdId;

    /**所属招商部*/
    @Excel(name = "所属招商部")
    private String organizationName;

    /** 返佣金额 */
    private String rebateAmount;


    /** 返佣比例*/
    private String rebate;

    /** 返佣占比*/
    private String mix;

    /** 房间总数 */
    private String rooms ;

    /** 项目ID */
    private Long projectId;


    /** 楼宇ID */
    private Long buildingId;

    /** 房源ID */
    private Long housingResourcesId;

    /** 月租金 */
    @Excel(name = "月租金")
    private BigDecimal monthlyRent;

    /** 成交经纪人 */
    @Excel(name = "成交经纪人")
    private String dealAgent;


    /** 经纪人联系方式 */
    private String telephone;

    /** 承租方 */
    @Excel(name = "承租方")
    private String tenantry;

    /** 承租方联系方式 */
    private String contactPhone;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitTime;

    /** 附件 */
    private String enclosure;

    /** 审核状态1审核中0拒绝2通过 */
    private Long auditStatus;

    /** 未审核通过原因 */
    private String reason;

    /** 审核时间 */
    private Date auditTime;

    /** 最后修改时间 */
    private Date modifiedTime;



    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setContractCode(String contractCode) 
    {
        this.contractCode = contractCode;
    }

    public String getOrganizationName() {
        return organizationName;
    }

    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }

    public String getRebateAmount() {
        return rebateAmount;
    }

    public void setRebateAmount(String rebateAmount) {
        this.rebateAmount = rebateAmount;
    }

    public String getRebate() {
        return rebate;
    }

    public void setRebate(String rebate) {
        this.rebate = rebate;
    }

    public String getMix() {
        return mix;
    }



    public void setMix(String mix) {
        this.mix = mix;
    }

    public String getRooms() {
        return rooms;
    }

    public void setRooms(String rooms) {
        this.rooms = rooms;
    }

    public String getContractCode()
    {
        return contractCode;
    }
    public void setIpdId(String ipdId) 
    {
        this.ipdId = ipdId;
    }

    public String getIpdId() 
    {
        return ipdId;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setBuildingId(Long buildingId) 
    {
        this.buildingId = buildingId;
    }

    public Long getBuildingId() 
    {
        return buildingId;
    }
    public void setHousingResourcesId(Long housingResourcesId) 
    {
        this.housingResourcesId = housingResourcesId;
    }

    public Long getHousingResourcesId() 
    {
        return housingResourcesId;
    }
    public void setMonthlyRent(BigDecimal monthlyRent) 
    {
        this.monthlyRent = monthlyRent;
    }

    public BigDecimal getMonthlyRent() 
    {
        return monthlyRent;
    }
    public void setDealAgent(String dealAgent) 
    {
        this.dealAgent = dealAgent;
    }

    public String getDealAgent() 
    {
        return dealAgent;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setTenantry(String tenantry) 
    {
        this.tenantry = tenantry;
    }

    public String getTenantry() 
    {
        return tenantry;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }
    public void setSubmitTime(Date submitTime) 
    {
        this.submitTime = submitTime;
    }

    public Date getSubmitTime() 
    {
        return submitTime;
    }
    public void setEnclosure(String enclosure) 
    {
        this.enclosure = enclosure;
    }

    public String getEnclosure() 
    {
        return enclosure;
    }
    public void setAuditStatus(Long auditStatus) 
    {
        this.auditStatus = auditStatus;
    }

    public Long getAuditStatus() 
    {
        return auditStatus;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime() 
    {
        return auditTime;
    }
    public void setModifiedTime(Date modifiedTime) 
    {
        this.modifiedTime = modifiedTime;
    }

    public Date getModifiedTime() 
    {
        return modifiedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("contractCode", getContractCode())
            .append("ipdId", getIpdId())
            .append("projectId", getProjectId())
            .append("buildingId", getBuildingId())
            .append("housingResourcesId", getHousingResourcesId())
            .append("monthlyRent", getMonthlyRent())
            .append("dealAgent", getDealAgent())
            .append("telephone", getTelephone())
            .append("tenantry", getTenantry())
            .append("contactPhone", getContactPhone())
            .append("submitTime", getSubmitTime())
            .append("enclosure", getEnclosure())
            .append("auditStatus", getAuditStatus())
            .append("reason", getReason())
            .append("auditTime", getAuditTime())
            .append("createTime", getCreateTime())
            .append("modifiedTime", getModifiedTime())
            .toString();
    }
}
